package com.serviceImpl;

import java.util.List;






import org.hibernate.SessionFactory;



import com.bean.CraftGrade;
import com.dao.CraftGradeDao;




/**
 * 工艺等级service
 * @author Administrator
 */
public class CraftGradeServiceImpl {

	private CraftGradeDao craftGradeDao;	//工艺等级dao类
	
	
	
	//封装

	public CraftGradeDao getCraftGradeDao() {
		return craftGradeDao;
	}


	public void setCraftGradeDao(CraftGradeDao craftGradeDao) {
		this.craftGradeDao = craftGradeDao;
	}


	/**
	 * 查询所有的等级
	 */
	public List<CraftGrade> getAllCraftType(){
		
		return craftGradeDao.findAll();
				
	}



	


}
